package com.duing.util;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class JsoupUtil {

    private static String htmlStr = "<html><head><title>First parse</title></head>\"\n" +
            "  + \"<body><p>Parsed HTML into a doc.</p></body></html>";

    private static String urlStr = "https://ncov.dxy.cn/ncovh5/view/pneumonia";

    public static void main(String[] args) throws Exception {
        Document document = Jsoup.connect(urlStr).get();
        Elements elements = document.getElementsByTag("script");
        Element ele = document.getElementById("getAreaStat");
        System.out.println();
    }
}
